package com.datang.petstore.generatemapper;

import com.datang.petstore.entity.MicroblogLikeRecord;
import com.datang.petstore.entity.MicroblogLikeRecordExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface MicroblogLikeRecordMapper {
    long countByExample(MicroblogLikeRecordExample example);

    int deleteByExample(MicroblogLikeRecordExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(MicroblogLikeRecord record);

    int insertSelective(MicroblogLikeRecord record);

    List<MicroblogLikeRecord> selectByExample(MicroblogLikeRecordExample example);

    MicroblogLikeRecord selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") MicroblogLikeRecord record, @Param("example") MicroblogLikeRecordExample example);

    int updateByExample(@Param("record") MicroblogLikeRecord record, @Param("example") MicroblogLikeRecordExample example);

    int updateByPrimaryKeySelective(MicroblogLikeRecord record);

    int updateByPrimaryKey(MicroblogLikeRecord record);
}